package com.yami.shop.vo.group;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserIdVo implements Serializable {

    @NotEmpty(message = "用户id不能为空")
    @Schema(description = "需要加入群组的用户id", required = true)
    private String id;
}
